//
//  JWRootSideMenuViewController.m
//  SwitchCalendarPro
//
//  Created by sunjiawen on 2018/2/12.
//  Copyright © 2018年 sjw. All rights reserved.
//

#import "JWRootSideMenuViewController.h"
#import "JWCalendarViewController.h"
#import "UIViewController+LGSideMenuController.h"
#import "AllTurnSideViewController.h"
#import "ZXNavigationController.h"

@implementation JWRootSideMenuViewController

- (void)viewDidLoad {
    [super viewDidLoad];

    UIBlurEffectStyle regularStyle;
    
    if (UIDevice.currentDevice.systemVersion.floatValue >= 10.0) {
        regularStyle = UIBlurEffectStyleRegular;
    }else {
        regularStyle = UIBlurEffectStyleLight;
    }
    
    self.leftViewWidth = kScreenWidth - 80;
    self.rightViewWidth = kScreenWidth;
    
    self.leftViewStatusBarHidden = YES;
    self.delegate = self;
    
    self.leftViewPresentationStyle = LGSideMenuPresentationStyleSlideAbove;
//    self.leftViewBackgroundBlurEffect = [UIBlurEffect effectWithStyle:regularStyle];
//    self.rootViewCoverBlurEffectForLeftView = [UIBlurEffect effectWithStyle:regularStyle];
    self.rootViewCoverColorForLeftView = [MainBlueColor colorWithAlphaComponent:0.05];
}

- (void)leftViewWillLayoutSubviewsWithSize:(CGSize)size {
    [super leftViewWillLayoutSubviewsWithSize:size];
}


@end
